<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title></title>
	<base href="<%=basePath%>">
	<link href="background/css/main.css" rel="stylesheet" type="text/css" />
</head>

<body>
	<s:div cssStyle="width:50%">
		<s:form method="post" action="saveUser.action">
			<tr>
				<td colspan="2" class="header">
					<s:text name="header" />
				</td>
			</tr>
			<s:textfield name="user.uname" key="name" required="true" />
			<s:textfield name="user.upassword" key="password" required="true" />
	        <s:hidden name="user.uno"> </s:hidden>
			<tr>
		    	<td colspan="2" class="button">
		    		<s:reset key="reset" theme="simple" />
		    		<s:submit key="submit" theme="simple" />
		    	</td>
			</tr>
		</s:form>
	</s:div>
</body>
</html>
